package design.patterns.templatemethod;

/**
 * @Desc:   具体子类
 * @author: cww
 * @DateTime: 2020-06-11 22:15
 */

public class MoneyMarketAccount extends Account {

    @Override
    protected String doCalculateAccountType() {

        return "Money Market";
    }

    @Override
    protected double doCalculateInterestRate() {
        return 0.045D;
    }
}
